package com.hdoit.ares.logical.insu.service;

import java.util.List;

import com.hdoit.ares.logical.insu.model.Insurance;
import com.hdoit.ares.logical.viewmodel.insu.FindInsu;
import com.hdoit.ares.logical.viewmodel.insu.InsuranceSearch;
import com.tennetcn.common.dao.base.ISuperService;
import com.tennetcn.common.logical.setting.model.ParamOption;
import com.tennetcn.common.message.PagerModel;
/**
 * @author      lvsi
 * @email       
 * @createtime  2017年12月09日 19:10:24
 * @comment
 */
public interface IInsuranceService extends ISuperService<Insurance>{
	
	public int queryInsuranceCount(InsuranceSearch insuranceSearch);
	
	public List<Insurance> queryInsuranceList(InsuranceSearch insuranceSearch,PagerModel pagerModel);
	
	//通过一级险id 查所对应的二级
	public List<ParamOption> queryList(String parentId);
	
	//多个条件进行筛选 保险
	public List<Insurance> queryListByFindInsu(FindInsu findInsu);
	
	//下架所有选择的产品
	public int updateUndercarriage(InsuranceSearch insuranceSearch);
		
	//上架最近修改的产品
	public int updateShelf(InsuranceSearch insuranceSearch);	
}
